<!--
 * @Author: 张瑞
 * @Date: 2022-01-06 15:57:27
 * @LastEditors: huangl
 * @LastEditTime: 2022-01-07 15:23:36
 * @Description: file content
 * @FilePath: \vue2xComponents\src\modules\demo\views\cbB\cp5\asdasd.vue
-->
<template>
  <div>
    <el-button @click="asdasd">{{ asdasd }}</el-button>
  </div>
</template>


<script>
export default {
  model: {
    prop: "value",
    event: "change",
  },
  props: {
    value: Boolean,
  },
  methods: {
    async asdasd() {
      return 123;
      console.log(fun());
      this.$emit("change", !this.value);
    },
  },
};
</script>